//
//  HDWebviewVC.m
//  HDSmartPenSDKDemo
//
//  Created by 牛的mini on 2016/12/26.
//  Copyright © 2016年 牛的mini. All rights reserved.
//

#import "HDWebviewVC.h"

@interface HDWebviewVC ()
@property (weak, nonatomic) IBOutlet UIWebView *myWebView;

@end

@implementation HDWebviewVC

- (void)viewDidLoad {
    [super viewDidLoad];
    
    NSString *htmlString = [NSString stringWithContentsOfFile:_webPath encoding:NSUTF8StringEncoding error:nil];
    [_myWebView loadHTMLString:htmlString baseURL:[NSURL URLWithString:_webPath]];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (void)dealloc
{
    _webPath = nil;
}

@end
